import { User } from './user';

export class RegisterForm {
  constructor(
    public account: string,
    public password: string,
    public email: string
  ) {}
}
export class LoginForm {
  constructor(
    public account: string,
    public password: string,
    public remember: boolean
  ) {}
}
export class LoginFormResponse {
  constructor(public user: User, public token: string) {}
}
export interface AddTableRequest {
  title: string;
  type: string;
  number?: number;
  string?: string[];
  userId?: string;
}
